﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE HTML>
<html>
<head>
	<meta charset="utf-8">
	<meta name="renderer" content="webkit|ie-comp|ie-stand">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
	<meta http-equiv="Cache-Control" content="no-siteapp" />
	<meta name="keywords" content="关键词">
	<meta name="description" content="描述">
	<link rel="Bookmark" href="${pageContext.request.contextPath}/favicon.ico" />
	<link rel="Shortcut Icon" href="${pageContext.request.contextPath}/favicon.ico" />
	<!--[if lt IE 9]>
	<script type="text/javascript" src="${pageContext.request.contextPath}/common/html5shiv.js"></script>
	<script type="text/javascript" src="${pageContext.request.contextPath}/common/respond.min.js"></script>
	<![endif]-->
	<link href="${pageContext.request.contextPath}/css/system/index/hui.min.css" rel="stylesheet" type="text/css" />
	<link href="${pageContext.request.contextPath}/css/system/login/login.css" rel="stylesheet" type="text/css" />
	<link href="${pageContext.request.contextPath}/css/system/index/style.css" rel="stylesheet" type="text/css" />
	<link href="${pageContext.request.contextPath}/font/iconfont.css" rel="stylesheet" type="text/css" />
    <title>后台登录 </title>
<style type="text/css">
	#errorMessage{
		color: red;
		font-family: STXinwei;
		font-size: 16px;
	}
</style>
    
</head>
<body onload="setFocus()">
<div class="header"></div>
<div class="loginWraper">
  <div id="loginform" class="loginBox">
    <form class="form form-horizontal" id="form">
      <input id="PageContext" type="hidden" value="${pageContext.request.contextPath}" />
      <div class="row cl">
        <label class="form-label col-xs-3"><i class="Hui-iconfont">&#xe60d;</i></label>
        <div class="formControls col-xs-8">
          <input id="username" name="username" type="text" placeholder="用户名:"   maxlength="50" class="input-text size-L">
        </div>
      </div>
      <div class="row cl">
        <label class="form-label col-xs-3"><i class="Hui-iconfont">&#xe60e;</i></label>
        <div class="formControls col-xs-8">
          <input id="password" name="password" type="password" placeholder="密码:"  maxlength="50" class="input-text size-L">
        </div>
      </div>
      <div class="row cl">
        <div class="formControls col-xs-8 col-xs-offset-3">
          <input id="vcode" name="vcode" class="input-text size-L" type="text"  placeholder="验证码"  style="width:150px;">
          <img src="${pageContext.request.contextPath}/loginServlet?method=code" onclick="change()" id="imageCode"> <a href="javascript:change();">看不清，换一张</a> </div>
      </div>
      <div class="row cl">
        <div class="formControls col-xs-8 col-xs-offset-3">
          <label for="online">
            <input type="checkbox" name="online" id="online">
                                 下次自动登录
            </label>
        </div>
        <div class="formControls col-xs-8 col-xs-offset-3" style="margin:1% 0 -1% 25%;;">
        	<label style="" id="errorMessage"></label>
        </div>
      </div>
      <div class="row cl">
        <div class="formControls col-xs-8 col-xs-offset-3">
          <input  type="button" class="btn btn-success radius size-L" value="&nbsp;登&nbsp;&nbsp;&nbsp;&nbsp;录&nbsp;" id="loginButton" onclick="loginEnter();">
          <input  type="reset" class="btn btn-default radius size-L" value="&nbsp;取&nbsp;&nbsp;&nbsp;&nbsp;消&nbsp;" style="margin-left: 20%">
        </div>
      </div>
    </form>
  </div>
</div>
<div class="footer">Copyright by heyanfang</div>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/plugins/jquery/jquery.min.js"></script> 
<script type="text/javascript" src="${pageContext.request.contextPath}/js/system/index/hui.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/system/login/login.js"></script>
</body>
</html>